package com.imooc.demo.dto;

import lombok.Data;

/**
 * @Auther: 杨通通
 * @Date: 2021/11/6 20:44
 * @Description:购物车
 */
@Data
public class CartDTO {

//    商品id
    private String productId;
//    商品数量
    private Integer productQuantity;

    public CartDTO(String productId, Integer productQuantity) {
        this.productId = productId;
        this.productQuantity = productQuantity;
    }
}